// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from '@/utils/request.js';

/**
 * 发布论文求助需求
 * @param {object} data
 */
export function saveThesisRequirement(data) {
  return request.post('courseThesisRequirement/save', data, {}, true);
}

/**
 * 获取论文需求分页列表
 * @param {object} data 查询参数
 */
export function getThesisRequirementPageList(data) {
  return request.get('courseThesisRequirement/page/list', data, {}, true);
}

/**
 * 获取论文导师信息分页列表
 * @param {object} data 查询参数
 */
export function getThesisSupervisorPageList(data) {
  return request.get('courseThesisSupervisor/page/list', data, {}, true);
}

/**
 * 新增/修改论文导师信息
 * @param {object} data 导师信息
 */
export function saveThesisSupervisor(data) {
  return request.post('courseThesisSupervisor/save', data);
}

